{% load static %}

<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>{% block title%} title {% endblock%}</title>
    <link href="{% static 'css/bootstrap.min.css' %}" rel="stylesheet"  crossorigin="anonymous">
  </head>
  <body>
    <div class="container-fluid row bg-dark text-light">
         <h4 mt-3 mb-3>Django 库存管理系统</h4>
    </div>
     <div class="container-fluid row">

        <div class="col-2 bg-light fs-7">
            <ul>
              <li class="mt-3"><a href="{% url 'warehouses_list' %}">仓库管理</a></li>
              <li class="mt-3"><a href="#">物品管理</a></li>
              <li class="mt-3"><a href="#">出入库管理</a></li>
              <li class="mt-3"><a href="#">用户管理</a></li>
              <li class="mt-3"><a href="#">数据统计</a></li>
            </ul>
        </div> 

        <div class="col-10">
          {% block content %}
              正文
          {% endblock %}
        </div>

     </di>

    
    <script src="{% static 'js/bootstrap.bundle.js' %}" crossorigin="anonymous"></script>
    <script src="{% static 'jquery/jquery.min.js' %}" crossorigin="anonymous"></script>

  </body>
</html>
